export interface LoginParams {
  username: string;
  password: string;
}

export interface RegisterParams extends LoginParams {
  email: string;
  name: string;
}

export interface UserInfo {
  id: number;
  username: string;
  name: string;
  email: string;
}

export interface Course {
  id: number;
  title: string;
  description: string;
  teacherId: number;
  price: number;
  duration: number;
  category: string;
  tags: string[];
}

export interface Teacher {
  id: number;
  name: string;
  title: string;
  avatar: string;
  description: string;
  expertise: string[];
  rating: number;
  studentCount: number;
}
